package com.service;

import com.bean.RbacManager;

import java.util.List;
import java.util.Map;

public class ManagerServiceImpl2 implements ManagerService {

    private ManagerService managerService;

    public void setManagerService(ManagerService managerService) {
        this.managerService = managerService;
    }

    public ManagerService getManagerService() {
        return managerService;
    }
    @Override
    public List<Map<String, String>> findlist() {
        System.out.println("代理类代理方法开始！");
        List<Map<String, String>> findlist = managerService.findlist();
        System.out.println("代理类代理方法结束");
        return findlist;
    }

    @Override
    public List<Map<String, String>> findbyname(String username) {
        return null;
    }

    @Override
    public int addOne(RbacManager rbacManager) {
        return 0;
    }

    @Override
    public int addForMap(Map<String, Object> userinfo) {
        return 0;
    }
}
